from django.urls import path, re_path

from . import views

app_name = 'details'

urlpatterns = [
    # parh 不能使用正则匹配，前端链接还没有使用渲染路径，暂时先用path
    path(r'details/<int:x>', views.DetailsView.as_view(), name='details'),
    # re_path(r'^details/$',views.DetailsView.as_view(), name='details'),
]